home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ppppppppmmmmttttooooiiiiccccrrrr((((1111)))) XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((33330000 JJJJuuuullllyyyy 1111999999990000)))) ppppppppmmmmttttooooiiiiccccrrrr((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- ppmtoicr - convert a portable pixmap into NCSA ICR format
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ppppppppmmmmttttooooiiiiccccrrrr [----wwwwiiiinnnnddddoooowwwwnnnnaaaammmmeeee _n_a_m_e] [----eeeexxxxppppaaaannnndddd _e_x_p_a_n_d] [----ddddiiiissssppppllllaaaayyyy
- _d_i_s_p_l_a_y] [----rrrrlllleeee] [_p_p_m_f_i_l_e]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Reads a portable pixmap file as input. Produces an NCSA
- Telnet Interactive Color Raster graphic file as output. If
- _p_p_m_f_i_l_e is not supplied, _p_p_m_t_o_i_c_r will read from standard
- input.
-
- Interactive Color Raster (ICR) is a protocol for displaying
- raster graphics on workstation screens. The protocol is
- implemented in NCSA Telnet for the Macintosh version 2.3.
- The ICR protocol shares characteristics of the Tektronix
- graphics terminal emulation protocol. For example, escape
- sequences are used to control the display.
-
- _p_p_m_t_o_i_c_r will output the appropriate sequences to create a
- window of the dimensions of the input pixmap, create a
- colormap of up to 256 colors on the display, then load the
- picture data into the window.
-
- Note that there is no icrtoppm tool - this transformation is
- one way.
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- ----wwwwiiiinnnnddddoooowwwwnnnnaaaammmmeeee_n_a_m_e
- Output will be displayed in _n_a_m_e (Default is
- to use _p_p_m_f_i_l_e or "untitled" if standard input
- is read.)
-
- ----eeeexxxxppppaaaannnndddd_e_x_p_a_n_d Output will be expanded on display by factor
- _e_x_p_a_n_d (For example, a value of 2 will cause
- four pixels to be displayed for every input
- pixel.)
-
- ----ddddiiiissssppppllllaaaayyyy_d_i_s_p_l_a_y
- Output will be displayed on screen numbered
- _d_i_s_p_l_a_y
-
- ----rrrrlllleeee Use run-length encoded format for display.
- (This will nearly always result in a quicker
- display, but may skew the colormap.)
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- To display a _p_p_m file using the protocol:
- ppmtoicr ppmfile
- This will create a window named _p_p_m_f_i_l_e on the display with
- the correct dimensions for _p_p_m_f_i_l_e, create and download a
-
-
-
- Page 1 (printed 9/7/93)
-
-
-
-
-
-
- ppppppppmmmmttttooooiiiiccccrrrr((((1111)))) XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((33330000 JJJJuuuullllyyyy 1111999999990000)))) ppppppppmmmmttttooooiiiiccccrrrr((((1111))))
-
-
-
- colormap of up to 256 colors, and download the picture into
- the window. The same effect may be achieved by the following
- sequence:
- ppmtoicr ppmfile > filename
- cat filename
- To display a GIF file using the protocol in a window titled
- after the input file, zoom the displayed image by a factor
- of 2, and run-length encode the data:
- giftoppm giffile | ppmtoicr -w giffile -r -e 2
-
- BBBBUUUUGGGGSSSS
- The protocol uses frequent _f_f_l_u_s_h calls to speed up display.
- If the output is saved to a file for later display via _c_a_t,
- drawing will be much slower. In either case, increasing the
- Blocksize limit on the display will speed up transmission
- substantially.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- ppppppppmmmm((((5555))))
-
- _N_C_S_A _T_e_l_n_e_t _f_o_r _t_h_e _M_a_c_i_n_t_o_s_h, University of Illinois at
- Urbana-Champaign (1989)
-
- AAAAUUUUTTTTHHHHOOOORRRR
- Copyright (C) 1990 by Kanthan Pillay
- (svpillay@Princeton.EDU), Princeton University Computing and
- Information Technology.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 9/7/93)
-
-
-
-